package wechat.handler.bean.response.event.message;

import org.dom4j.DocumentException;

import wechat.handler.bean.response.EventMessageBean;

/**
 * 扫描带参数二维码事件(未关注)
 * Event：  subscribe(订阅)
 *
 */
public class ScanNotSubscribedBean extends EventMessageBean {
	
	private String Ticket;
	
	public ScanNotSubscribedBean(String str) throws DocumentException {
		super(str);
	}
	
	public ScanNotSubscribedBean(){
		
	}
	
	public String getTicket() {
		return Ticket;
	}

	public void setTicket(String ticket) {
		Ticket = ticket;
	}
	
	protected static final String Xpath_Ticket = "/xml/Ticket";
	
	public void transform() throws Exception {
		super.transform();
		this.setTicket(getNodeText(Xpath_Ticket));
	}


}
